package com.chittoda.koncurrent;

import java.util.concurrent.BlockingQueue;

/**
 * Factory which will be used in creating the BlockingQueue collections
 * those will be used to store the Task
 * @author jitendra
 *
 */
public interface BlockingQueueFactory {

	/**
	 * ThreadPool will internally call this method to create BlockingQueue collection
	 * @return
	 */
	BlockingQueue<Runnable> createBlockingQueue();
}
